<template>
  <div id="box">
    <img src="https://scpic.chinaz.net/files/pic/pic9/202003/zzpic23514.jpg" />
    <h4>这是一只憨批狗</h4>
  </div>
</template>

<script>
export default {};
</script>

<style scoped>
img {
  width: 500px;
}
h4 {
  text-align: center;
}
#box {
  border: 1px solid #000;
  width: 502px;
}
</style>